﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Stonecode.Solar.ParticleEffectEditor
{
    public partial class FrmChangeEmitterName : Form
    {
        public string EmitterName 
        {
            get { return txtEmitterName.Text; }
            set { txtEmitterName.Text = value; }
        }

        public FrmChangeEmitterName()
        {
            InitializeComponent();
        }

        public FrmChangeEmitterName(string emitterName)
        {
            InitializeComponent();
            EmitterName = emitterName;
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.Hide();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.Hide();
        }

        private void FrmChangeEmitterName_Load(object sender, EventArgs e)
        {

        }
    }
}
